<?php

defined('BASEPATH') or die('forbidden');
/**
 * 数据库配置
 * @author  Karson
 * @name    db.php
 * @since   2013-3-27 13:54:08
 */
$config['db'] = array(
    'library' => 'database',
    'type' => 'mysql',
    'host' => isset($_SERVER['db_host']) ? $_SERVER['db_host'] : 'localhost',
    'name' => isset($_SERVER['db_name']) ? $_SERVER['db_name'] : 'jz',
    'user' => isset($_SERVER['db_user']) ? $_SERVER['db_user'] : 'root',
    'password' => isset($_SERVER['db_password']) ? $_SERVER['db_password'] : '123456',
    'pconnect' => false,
    'debug' => true,
    'prefix' => 'ks_',
);